/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package assignment1;

import java.io.IOException;
/**
 *
 * @author cjaramillo
 */
public class Assignment1 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException
    {
        // TODO code application logic here
        ExpertSystem expertSystem;
        if(args.length == 2)
        {
            expertSystem = new ExpertSystem(args[0], args[1]);
        }
        else
        {
            expertSystem = new ExpertSystem();
            expertSystem.setup();
        }
        
        expertSystem.run();
    }
    
}
